package com.yl.danmo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yl.common.core.annotation.Excel;
import com.yl.common.core.web.domain.BaseEntity;

/**
 * 职位对象 danmo_information_positions
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class DanmoInformationPositions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职位的唯一标识符（主键） */
    private Long positionId;

    /** 职位的名称（主席、副主席等） */
    @Excel(name = "职位的名称", readConverterExp = "主=席、副主席等")
    private String name;

    /** 级别 */
    @Excel(name = "级别")
    private String grade;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setPositionId(Long positionId) 
    {
        this.positionId = positionId;
    }

    public Long getPositionId() 
    {
        return positionId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("positionId", getPositionId())
            .append("name", getName())
            .append("grade", getGrade())
            .append("sort", getSort())
            .toString();
    }
}
